package com.campus.app.service.impl;

import com.campus.commons.entity.Role;
import com.campus.app.mapper.RoleMapper;
import com.campus.app.service.RolesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 角色 服务实现类
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RolesService {

    @Override
    public Role getRoleById(Integer roleId) {
        return getById(roleId);
    }
}
